package com.campusbackend.service.impl;

import com.campusbackend.entity.MemberRoles;
import com.campusbackend.mapper.MemberRolesMapper;
import com.campusbackend.service.MemberRolesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 队员身份字典表 服务实现类
 * </p>
 *
 * @author yezi
 * @since 2025-07-26
 */
@Service
public class MemberRolesServiceImpl extends ServiceImpl<MemberRolesMapper, MemberRoles> implements MemberRolesService {

    @Autowired
    private MemberRolesMapper memberRolesMapper;

    @Override
    public List<MemberRoles> getAllActiveRoles() {
        return memberRolesMapper.getAllActiveRoles();
    }
}
